package com.itboye.eweilisten.util.logincontroller;

import android.app.Activity;
import android.content.Intent;

import com.itboye.eweilisten.me.personal.activity.PersonalDataActivity;
import com.itboye.eweilisten.me.zhanghu.ZhangHuActivity;
import com.itboye.eweilisten.me.zhanghu.ZhangHuAnQuanActivity;

/***
 * @author 在登录状态下执行该方法
 */
public class LoginedState implements ILoginState {

	String uid;
	String id;
	// 状态为登录的时候执行本类里的方法

	/**
	 * 个人信息
     */
	@Override
	public void PersonnalInfomaton(Activity activity, Object obj) {
		// TODO Auto-generated method stub
		Intent intent = new Intent(activity, PersonalDataActivity.class);
		activity.startActivity(intent);
	}
	/**
	 * 我的账户
	 */
	@Override
	public void myZhangHu(Activity activity, Object obj) {
		Intent intent = new Intent(activity, ZhangHuActivity.class);
		activity.startActivity(intent);
	}
	/**
	 * 账户安全
	 */
	@Override
	public void anQuan(Activity activity, Object obj) {
		Intent intent = new Intent(activity, ZhangHuAnQuanActivity.class);
		activity.startActivity(intent);
	}


}
